#if !defined(__PRAY_CORE_PURPOSEDATA_H)
#define __PRAY_CORE_PURPOSEDATA_H

@interface PurposeData : NSObject <NSCoding> 
{
	NSString*				_purpose;
	NSDate*					_date;
}

@property (nonatomic, retain)	NSString*	purpose;
@property (nonatomic, retain)	NSDate*		date;

- (id)initWithPurpose:(NSString*)purpose date:(NSDate*)date;

@end

@interface PurposeDataList : NSObject	<NSCoding> 
{
	NSMutableArray*			_purposeList;
}

- (NSInteger)getNumberOfData;
- (void)addPurpose:(NSString*)purpose;
- (void)addPurposeData:(PurposeData*)purposeData;
- (PurposeData*)getPurposeWithIndex:(NSInteger)index;
- (void)deletePurposeAtIndex:(NSInteger)index;

@end

#endif //!__PRAY_CORE_PURPOSEDATA_H